package com.lihaozhe.mapper;

import com.lihaozhe.dto.SecUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 李昊哲
 * @version 1.0
 * 2021/12/2 15:31
 */
@Mapper
public interface SecUserMapper {
    /**
     * 根据账号获取用户信息
     * @param username
     * @return
     */
    SecUser selectByUsername(@Param("username") String username);
}